package org.luxor.common.netty.exception;

import org.luxor.commons.core.web.RestStatus;

/**
 * Netty CallSendFailed Exception
 *
 * @author Mr.yan @date 2024/2/26
 */
public class NettyCallSendFailedException extends NettyException {

    public NettyCallSendFailedException() {
    }

    public NettyCallSendFailedException(String message) {
        super(message);
    }

    public NettyCallSendFailedException(String message, Throwable e) {
        super(message, e);
    }

    public NettyCallSendFailedException(Integer code, String message) {
        super(code, message);
    }

    public NettyCallSendFailedException(Integer code, String message, String error) {
        super(code, message, error);
    }

    public NettyCallSendFailedException(Integer code, String message, Throwable e) {
        super(code, message, e);
    }

    public NettyCallSendFailedException(RestStatus restStatus) {
        super(restStatus);
    }

    public NettyCallSendFailedException(RestStatus restStatus, String error) {
        super(restStatus, error);
    }

    public NettyCallSendFailedException(RestStatus restStatus, Throwable e) {
        super(restStatus, e);
    }
}
